import unittest
# 编写一个函数，传递任意3个数字，返回平均值
# 编写测试用例，进行单元测试
def get_avg(a, b, c):
    return (a + b + c) / 3
class TestAvg(unittest.TestCase):
    def test_avg01(self):
        result = get_avg(1, 2, 3)
        print('结果是：', result)
    def test_avg02(self):
        result = get_avg(4, 5, 6)
        print('结果是：', result)
    def test_avg03(self):
        result = get_avg(7, 8, 9)
        print('结果是：', result)

if __name__ == '__main__':
    unittest.main()